package com.jodinfo.outmirror.entity;

import java.io.Serializable;

import com.alibaba.fastjson.annotation.JSONField;

public class User implements Serializable{
	
	private static final long serialVersionUID = 4129191548719416128L;

	private Long id;

    private String deviceType;

    private String deviceNum;
    
	@JSONField (format="yyyy-MM-dd HH:mm:ss")
    private String createTime;

	@JSONField (format="yyyy-MM-dd HH:mm:ss")
    private String lastTime;

    private String state;

    private String nickname;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType == null ? null : deviceType.trim();
    }

    public String getDeviceNum() {
        return deviceNum;
    }

    public void setDeviceNum(String deviceNum) {
        this.deviceNum = deviceNum == null ? null : deviceNum.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getLastTime() {
        return lastTime;
    }

    public void setLastTime(String lastTime) {
        this.lastTime = lastTime;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }
}